@extends('layout/default')

@section('content')
<div class="container ">
    <div clas="row ">
        <form>

            <div class="col-xs-12">
                <!--        <div class="row">-->
                <table class="table">
                    <tr>
                        <th>金额</th>
                        <th>时间</th>
                        <th>状态</th>
                        <th></th>
                    </tr>
                    @foreach($datas as $v)
                    <tr>
                        <td>{{$v->SOAmount}}</td>
                        <td>{{$v->created_at}}</td>
                        <td>{{App\Http\Models\Space::$type_zh[$v->SOType]}}</td>
                        <td><a href="{{URL::to('spaceOrder/'.$v->SOID.'/detail')}}">详情</a></td>
                    </tr>
                    <!--            <a href="{{URL::to('spaceOrder/'.$v->SOID.'/edit')}}">-->
                    <!--            <div class="col-xs-12" style="position: relative">-->
                    <!--                -->
                    <!--                <div class="row">-->
                    <!--                    <div class="col-xs-12"><div><h5 style="color: #000;">{{$v->SOAmount}}</h5></div></div>-->
                    <!--                </div>-->
                    <!---->
                    <!--            </div>-->
                    <!---->
                    <!--            <div class="col-xs-12 list-content">-->
                    <!--                {{$v->FMessage}}<span style="color: #000">[{{$v->SOType}}]</span>-->
                    <!--            </div>-->
                    <!--            </a>-->
                    @endforeach
                </table>
                <!--        </div>-->
                <?php echo $datas->render(); ?>
            </div>


        </form>
    </div>

</div>
@endsection
